package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员信息对象 huiyuan
 * 
 * @author ruoyi
 * @date 2025-06-28
 */
public class Huiyuan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Integer huiyuanId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String huiyuanName;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String huiyuanPhone;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private String huiyuanGrade;

    /** 是否是会员（1代表会员） */
    @Excel(name = "是否是会员", readConverterExp = "1=代表会员")
    private Integer huiyuanType;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date huiyuanCreatetime;

    /** 是否实名 */
    @Excel(name = "是否实名")
    private String huiyuanStatus;

    //充电次数
    private Integer rechargeCount;

    public Integer getRechargeCount() {
        return rechargeCount;
    }

    public void setRechargeCount(Integer rechargeCount) {
        this.rechargeCount = rechargeCount;
    }

    public void setHuiyuanId(Integer huiyuanId)
    {
        this.huiyuanId = huiyuanId;
    }

    public Integer getHuiyuanId() 
    {
        return huiyuanId;
    }

    public void setHuiyuanName(String huiyuanName) 
    {
        this.huiyuanName = huiyuanName;
    }

    public String getHuiyuanName() 
    {
        return huiyuanName;
    }

    public void setHuiyuanPhone(String huiyuanPhone) 
    {
        this.huiyuanPhone = huiyuanPhone;
    }

    public String getHuiyuanPhone() 
    {
        return huiyuanPhone;
    }

    public void setHuiyuanGrade(String huiyuanGrade) 
    {
        this.huiyuanGrade = huiyuanGrade;
    }

    public String getHuiyuanGrade() 
    {
        return huiyuanGrade;
    }

    public void setHuiyuanType(Integer huiyuanType) 
    {
        this.huiyuanType = huiyuanType;
    }

    public Integer getHuiyuanType() 
    {
        return huiyuanType;
    }

    public void setHuiyuanCreatetime(Date huiyuanCreatetime) 
    {
        this.huiyuanCreatetime = huiyuanCreatetime;
    }

    public Date getHuiyuanCreatetime() 
    {
        return huiyuanCreatetime;
    }

    public void setHuiyuanStatus(String huiyuanStatus) 
    {
        this.huiyuanStatus = huiyuanStatus;
    }

    public String getHuiyuanStatus() 
    {
        return huiyuanStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("huiyuanId", getHuiyuanId())
            .append("huiyuanName", getHuiyuanName())
            .append("huiyuanPhone", getHuiyuanPhone())
            .append("huiyuanGrade", getHuiyuanGrade())
            .append("huiyuanType", getHuiyuanType())
            .append("huiyuanCreatetime", getHuiyuanCreatetime())
            .append("huiyuanStatus", getHuiyuanStatus())
            .toString();
    }
}
